<div class="layui-container">
    <div class="layui-row">
        <div class="layui-col-md8">

            <!--公告 S-->
            <div class="layui-carousel" id="kt-notice" lay-filter="kt-notice">
                <div carousel-item="">
                    <div>
                        <span class="layui-badge layui-bg-blue">Tips</span>
                        <a href="#/html/asd/asd">查看404</a>
                    </div>
                    <div>
                        <span class="layui-badge layui-bg-blue">Tips</span>
                        <a href="#/html/asd/asd">查看404</a>
                    </div>
                    <div>
                        <span class="layui-badge layui-bg-blue">Tips</span>
                        <a href="#/html/asd/asd">查看404</a>
                    </div>
                    <div>
                        <span class="layui-badge layui-bg-blue">Tips</span>
                        <a href="#/html/asd/asd">查看404</a>
                    </div>
                    <div>
                        <span class="layui-badge layui-bg-blue">Tips</span>
                        <a href="#/html/asd/asd">查看404</a>
                    </div>
                </div>
            </div>
            <!--公告 E-->

            <!--轮播 S-->
            <div class="layui-carousel" id="kt-banner" lay-filter="kt-banner">
                <div carousel-item="">
                    <div class="banner">
                        <img src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                        <div class="info">
                            <a href="#/html/views/user_center.html" class="layui-badge layui-bg-white">Feiyang</a>
                            <a href="#/html/views/article.html" class="title">Merry Christmas 圣诞快乐！</a>
                            <p class="time">2019-05-08 15:35:30</p>
                            <div class="kt-clear"></div>
                        </div>
                        <a href="#/html/views/article.html" class="bg"></a>
                    </div>

                    <div class="banner">
                        <img src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                        <div class="info">
                            <a href="#/html/views/user_center.html" class="layui-badge layui-bg-white">Feiyang</a>
                            <a href="#/html/views/article.html" class="title">Merry Christmas 圣诞快乐！</a>
                            <p class="time">2019-05-08 15:35:30</p>
                            <div class="kt-clear"></div>
                        </div>
                        <a href="#/html/views/article.html" class="bg"></a>
                    </div>

                    <div class="banner">
                        <img src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                        <div class="info">
                            <a href="#/html/views/user_center.html" class="layui-badge layui-bg-white">Feiyang</a>
                            <a href="#/html/views/article.html" class="title">Merry Christmas 圣诞快乐！</a>
                            <p class="time">2019-05-08 15:35:30</p>
                            <div class="kt-clear"></div>
                        </div>
                        <a href="#/html/views/article.html" class="bg"></a>
                    </div>
                </div>
            </div>
            <!--轮播 E-->

            <!--最新资讯 S-->
            <fieldset class="layui-elem-field layui-field-title">
                <legend>
                    <span class="iconfont icon-zuixin"></span>
                    <span>最新资讯</span>
                </legend>
            </fieldset>

            <div class="row kt-article-list">
                <div class="layui-col-md6">
                    <div class="kt-figure">
                        <div class="kt-figure-img">
                            <a href="#/html/views/article.html">
                                <img lay-src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                            </a>
                        </div>

                        <div class="kt-figure-info">
                            <span>2019-5-5 15:50:10</span>
                            <a href="#/html/views/user_center.html">FeiYang</a>
                        </div>

                        <div class="kt-figure-title">
                            <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                        </div>

                        <div class="kt-figure-more">
                            <a href="javascript:;" class="love">
                                <span class="iconfont icon-collection"></span>
                                <span class="click">15</span>
                            </a>

                            <a class="more" href="#/html/views/article.html">more</a>
                        </div>
                    </div>

                    <div class="kt-answer-complete">
                        <span class="iconfont icon-jiangzhang"></span>
                        <span>已解答</span>
                    </div>
                </div>

                <div class="layui-col-md6">
                    <div class="kt-figure">
                        <div class="kt-figure-img">
                            <a href="#/html/views/article.html">
                                <img lay-src="/html/images/article.jpg" alt="" height="unset">
                            </a>
                        </div>
                        <div class="kt-figure-info">
                            <span>2019-5-5 15:50:10</span>
                            <a href="#/html/views/user_center.html">FeiYang</a>
                        </div>
                        <div class="kt-figure-title">
                            <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                        </div>

                        <div class="kt-figure-more">
                            <a href="javascript:;" class="love">
                                <span class="iconfont icon-collection"></span>
                                <span class="click">15</span>
                            </a>

                            <a class="more" href="#/html/views/article.html">more</a>
                        </div>
                    </div>
                </div>

                <div class="layui-col-md6">
                    <div class="kt-figure">
                        <div class="kt-figure-img">
                            <a href="#/html/views/article.html">
                                <img lay-src="/html/images/article.jpg" alt="" height="unset">
                            </a>
                        </div>
                        <div class="kt-figure-info">
                            <span>2019-5-5 15:50:10</span>
                            <a href="#/html/views/user_center.html">FeiYang</a>
                        </div>
                        <div class="kt-figure-title">
                            <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                        </div>

                        <div class="kt-figure-more">
                            <a href="javascript:;" class="love">
                                <span class="iconfont icon-collection"></span>
                                <span class="click">15</span>
                            </a>

                            <a class="more" href="">more</a>
                        </div>
                    </div>
                </div>

                <div class="layui-col-md6">
                    <div class="kt-figure">
                        <div class="kt-figure-img">
                            <a href="#/html/views/article.html">
                                <img lay-src="/html/images/article.jpg" alt="" height="unset">
                            </a>
                        </div>
                        <div class="kt-figure-info">
                            <span>2019-5-5 15:50:10</span>
                            <a href="#/html/views/user_center.html">FeiYang</a>
                        </div>
                        <div class="kt-figure-title">
                            <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                        </div>

                        <div class="kt-figure-more">
                            <a href="javascript:;" class="love">
                                <span class="iconfont icon-collection"></span>
                                <span class="click">15</span>
                            </a>

                            <a class="more" href="#/html/views/article.html">more</a>
                        </div>
                    </div>
                </div>

                <div class="kt-clear"></div>
            </div>
            <!--最新资讯 E-->

            <!--广告 S-->
            <div class="layui-row kt-advertisement">
                <div class="layui-col-md12">
                    <a href="https://knowthat.cn">
                        <img lay-src="/html/images/ads.png" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                        <p>- advertisement -</p>
                    </a>

                </div>
            </div>
            <!--广告 E-->

            <!--下载 S-->
            <div class="row kt-hotarticle layui-col-space15">
                <div class="layui-col-md6">
                    <div class="kt-column-title">
                        <span class="iconfont icon-download"></span>
                        <span>热门下载</span>
                    </div>
                    <ul class="kt-hotdownload-list">
                        <li>
                            <a href="#/html/views/article.html"> # HTML5</a>
                            <span class="iconfont icon-download">23135</span>
                        </li>
                        <li>
                            <a href="#/html/views/article.html"> # JavaScript</a>
                            <span class="iconfont icon-download">35123</span>
                        </li>
                        <li>
                            <a href="#/html/views/article.html"> # JQuery</a>
                            <span class="iconfont icon-download">31235</span>
                        </li>
                        <li>
                            <a href="#/html/views/article.html"> # ThinkPHP5</a>
                            <span class="iconfont icon-download">57635</span>
                        </li>
                        <li>
                            <a href="#/html/views/article.html"> # Laravel 5.8</a>
                            <span class="iconfont icon-download">335</span>
                        </li>
                        <li>
                            <a href="#/html/views/article.html"> # Laravel-admin</a>
                            <span class="iconfont icon-download">356755</span>
                        </li>
                        <li>
                            <a href="#/html/views/article.html"> # Linux CentOS 7.3</a>
                            <span class="iconfont icon-download">356755</span>
                        </li>
                        <li>
                            <a href="#/html/views/article.html"> # Python</a>
                            <span class="iconfont icon-download">356755</span>
                        </li>
                    </ul>
                </div>

                <div class="layui-col-md6">
                    <div class="kt-column-title">
                        <span class="iconfont icon-remen"></span>
                        <span>热门攻略</span>
                    </div>

                    <div class="kt-hotarticle">
                        <div class="layui-row list">

                            <div class="layui-col-md12">
                                <div class="layui-row">
                                    <div class="layui-col-md4 layui-col-sm4 layui-col-xs4">
                                        <a href="#/html/views/article.html">
                                            <img lay-src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                        </a>
                                    </div>
                                    <div class="layui-col-md8 layui-col-sm8 layui-col-xs8">
                                        <p class="title">
                                            <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                                        </p>
                                        <p class="info">
                                            <a href="#/html/views/user_center.html">Feiyang</a>
                                            <span>2019-01-08 16:03:42</span>
                                        </p>
                                    </div>

                                    <div class="kt-clear"></div>
                                </div>
                            </div>

                            <div class="layui-col-md12">
                                <div class="layui-row">
                                    <div class="layui-col-md4 layui-col-sm4 layui-col-xs4">
                                        <a href="#/html/views/article.html">
                                            <img lay-src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                        </a>
                                    </div>
                                    <div class="layui-col-md8 layui-col-sm8 layui-col-xs8">
                                        <p class="title">
                                            <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                                        </p>
                                        <p class="info">
                                            <a href="#/html/views/user_center.html">Feiyang</a>
                                            <span>2019-01-08 16:03:42</span>
                                        </p>
                                    </div>

                                    <div class="kt-clear"></div>
                                </div>
                            </div>

                            <div class="layui-col-md12">
                                <div class="layui-row">
                                    <div class="layui-col-md4 layui-col-sm4 layui-col-xs4">
                                        <a href="#/html/views/article.html">
                                            <img lay-src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                        </a>
                                    </div>
                                    <div class="layui-col-md8 layui-col-sm8 layui-col-xs8">
                                        <p class="title">
                                            <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                                        </p>
                                        <p class="info">
                                            <a href="#/html/views/user_center.html">Feiyang</a>
                                            <span>2019-01-08 16:03:42</span>
                                        </p>
                                    </div>

                                    <div class="kt-clear"></div>
                                </div>
                            </div>

                            <div class="layui-col-md12">
                                <div class="layui-row">
                                    <div class="layui-col-md4 layui-col-sm4 layui-col-xs4">
                                        <a href="#/html/views/article.html">
                                            <img lay-src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                        </a>
                                    </div>
                                    <div class="layui-col-md8 layui-col-sm8 layui-col-xs8">
                                        <p class="title">
                                            <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                                        </p>
                                        <p class="info">
                                            <a href="#/html/views/user_center.html">Feiyang</a>
                                            <span>2019-01-08 16:03:42</span>
                                        </p>
                                    </div>

                                    <div class="kt-clear"></div>
                                </div>
                            </div>

                            <div class="kt-clear"></div>
                        </div>

                    </div>
                </div>

                <div class="kt-clear"></div>
            </div>
            <!--下载 E-->
        </div>

        <div class="layui-col-md4 kt-body-right">
            <div class="kt-column-title">
                <span class="iconfont icon-kuaijiecaozuo"></span>
                <span>快捷操作</span>
            </div>
            <div class="layui-row">
                <div class="layui-col-xs4 layui-col-sm4 layui-col-md4">
                    <div class="kt-flag" title="查看自己的个人收藏的攻略">
                        <div>
                            <img src="/html/images/flag1.png" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                        </div>
                        <p>Favourite</p>
                    </div>
                </div>

                <div class="layui-col-xs4 layui-col-sm4 layui-col-md4">
                    <div class="kt-flag" title="查看您以往的历史记录">
                        <div>
                            <img src="/html/images/flag2.png" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                        </div>
                        <p>足迹</p>
                    </div>
                </div>

                <div class="layui-col-xs4 layui-col-sm4 layui-col-md4">
                    <div class="kt-flag" title="对攻略进行精准匹配">
                        <div>
                            <img src="/html/images/flag3.png" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                        </div>
                        <p>偏好</p>
                    </div>
                </div>

                <div class="layui-col-xs4 layui-col-sm4 layui-col-md4">
                    <div class="kt-flag" title="如果您对本网站或者内容有所疑问的话">
                        <div>
                            <img src="/html/images/flag4.png" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                        </div>
                        <p>疑问</p>
                    </div>
                </div>

                <div class="layui-col-xs4 layui-col-sm4 layui-col-md4">
                    <div class="kt-flag" title="告诉网站开发者本网站的不足，如果您的建议被采纳，将会得到相应奖励！">
                        <div>
                            <img src="/html/images/flag5.png" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                        </div>
                        <p>我是Boss</p>
                    </div>
                </div>

            </div>

            <div class="kt-column-title">
                <span class="iconfont icon-paihang"></span>
                <span>周榜</span>
            </div>

            <div class="layui-tab layui-tab-brief" lay-filter="kt-ranking">
                <ul class="layui-tab-title">
                    <li class="layui-this"> <span class="iconfont icon-xiezuo"></span> 发布榜</li>
                    <li><span class="iconfont icon-aixin"></span>热心榜</li>
                </ul>
                <div class="layui-tab-content">
                    <div class="layui-tab-item layui-show">
                        <div class="layui-row kt-ranking-list">
                            <div class="layui-col-md4 layui-col-sm6 layui-col-xs6">
                                <a href="#/html/views/user_center.html">
                                    <img src="/html/images/headpic.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                    <span>看上隔壁小花了啦</span>
                                </a>
                                <p> <span>20</span> 次回复</p>
                            </div>
                            <div class="layui-col-md4 layui-col-sm6 layui-col-xs6">
                                <a href="#/html/views/user_center.html">
                                    <img src="/html/images/headpic.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                    <span>看上隔壁小花了啦</span>
                                </a>
                                <p> <span>20</span> 次回复</p>
                            </div>
                            <div class="layui-col-md4 layui-col-sm6 layui-col-xs6">
                                <a href="#/html/views/user_center.html">
                                    <img src="/html/images/headpic.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                    <span>看上隔壁小花了啦</span>
                                </a>
                                <p> <span>20</span> 次回复</p>
                            </div>
                            <div class="layui-col-md4 layui-col-sm6 layui-col-xs6">
                                <a href="#/html/views/user_center.html">
                                    <img src="/html/images/headpic.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                    <span>看上隔壁小花了啦</span>
                                </a>
                                <p> <span>20</span> 次回复</p>
                            </div>
                            <div class="layui-col-md4 layui-col-sm6 layui-col-xs6">
                                <a href="#/html/views/user_center.html">
                                    <img src="/html/images/headpic.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                    <span>看上隔壁小花了啦</span>
                                </a>
                                <p> <span>20</span> 次回复</p>
                            </div>
                            <div class="layui-col-md4 layui-col-sm6 layui-col-xs6">
                                <a href="#/html/views/user_center.html">
                                    <img src="/html/images/headpic.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                    <span>看上隔壁小花了啦</span>
                                </a>
                                <p> <span>20</span> 次回复</p>
                            </div>
                            <div class="layui-col-md4 layui-col-sm6 layui-col-xs6">
                                <a href="#/html/views/user_center.html">
                                    <img src="/html/images/headpic.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                    <span>看上隔壁小花了啦</span>
                                </a>
                                <p> <span>20</span> 次回复</p>
                            </div>
                            <div class="layui-col-md4 layui-col-sm6 layui-col-xs6">
                            <a href="#/html/views/user_center.html">
                                <img src="/html/images/headpic.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                <span>看上隔壁小花了啦</span>
                            </a>
                            <p> <span>20</span> 次回复</p>
                        </div>
                            <div class="layui-col-md4 layui-col-sm6 layui-col-xs6">
                                <a href="#/html/views/user_center.html">
                                    <img src="/html/images/headpic.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                    <span>看上隔壁小花了啦</span>
                                </a>
                                <p> <span>20</span> 次回复</p>
                            </div>

                            <div class="kt-clear"></div>
                        </div>
                    </div>

                    <div class="layui-tab-item">
                        <div class="layui-row kt-ranking-list">
                            <div class="layui-col-md4 layui-col-sm6 layui-col-xs6">
                                <a href="#/html/views/user_center.html">
                                    <img src="/html/images/headpic.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                    <span>看上隔壁小花了啦</span>
                                </a>
                                <p> <span>20</span> 次回复</p>
                            </div>

                            <div class="kt-clear"></div>
                        </div>
                    </div>
                </div>
            </div>

            <!--订阅 S-->
            <div class="layui-row kt-subscribe">
                <div class="layui-col-md12">
                    <span class="iconfont icon-mail1"></span>
                    <p class="title">Subscription Strategy</p>

                    <form action="" class="layui-form kt-topsearch">
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <input type="text" name="title" autocomplete="off" placeholder="请输入您的邮箱" class="layui-input">
                                <button type="submit">
                                    <span class="iconfont icon-search1"></span>
                                </button>
                            </div>

                            <p>通过订阅，您将收到您的电子邮件中的新攻略。</p>
                        </div>
                    </form>
                </div>
            </div>
            <!--订阅 E-->
        </div>

        <div class="layui-col-md12">

            <!--上周最佳 S-->
            <fieldset class="layui-elem-field layui-field-title">
                <legend>
                    <span class="iconfont icon-shangzhou"></span>
                    <span>上周最佳</span>

                    <button class="layui-btn layui-btn-primary layui-btn-sm kt-prev"><i class="layui-icon"></i></button>
                    <button class="layui-btn layui-btn-primary layui-btn-sm kt-next"><i class="layui-icon"></i></button>
                </legend>
            </fieldset>

            <div class="kt-lastweek">
                <div class="layui-row layui-col-space10">
                    <div class="layui-col-md3">
                        <div class="kt-figure">
                            <div class="kt-figure-img">
                                <a href="#/html/views/article.html">
                                    <img lay-src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                </a>
                            </div>
                            <div class="kt-figure-info">
                                <span>2019-5-5 15:50:10</span>
                                <a href="#/html/views/user_center.html">FeiYang</a>
                            </div>
                            <div class="kt-figure-title">
                                <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                            </div>

                            <div class="kt-figure-more">
                                <a href="javascript:;" class="love">
                                    <span class="iconfont icon-collection"></span>
                                    <span class="click">15</span>
                                </a>

                                <a class="more" href="#/html/views/article.html">more</a>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <div class="kt-figure">
                            <div class="kt-figure-img">
                                <a href="#/html/views/article.html">
                                    <img lay-src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                </a>
                            </div>
                            <div class="kt-figure-info">
                                <span>2019-5-5 15:50:10</span>
                                <a href="#/html/views/user_center.html">FeiYang</a>
                            </div>
                            <div class="kt-figure-title">
                                <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                            </div>

                            <div class="kt-figure-more">
                                <a href="javascript:;" class="love">
                                    <span class="iconfont icon-collection"></span>
                                    <span class="click">15</span>
                                </a>

                                <a class="more" href="#/html/views/article.html">more</a>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <div class="kt-figure">
                            <div class="kt-figure-img">
                                <a href="#/html/views/article.html">
                                    <img lay-src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                </a>
                            </div>
                            <div class="kt-figure-info">
                                <span>2019-5-5 15:50:10</span>
                                <a href="#/html/views/user_center.html">FeiYang</a>
                            </div>
                            <div class="kt-figure-title">
                                <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                            </div>

                            <div class="kt-figure-more">
                                <a href="javascript:;" class="love">
                                    <span class="iconfont icon-collection"></span>
                                    <span class="click">15</span>
                                </a>

                                <a class="more" href="#/html/views/article.html">more</a>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <div class="kt-figure">
                            <div class="kt-figure-img">
                                <a href="#/html/views/article.html">
                                    <img lay-src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                </a>
                            </div>
                            <div class="kt-figure-info">
                                <span>2019-5-5 15:50:10</span>
                                <a href="#/html/views/user_center.html">FeiYang</a>
                            </div>
                            <div class="kt-figure-title">
                                <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                            </div>

                            <div class="kt-figure-more">
                                <a href="javascript:;" class="love">
                                    <span class="iconfont icon-collection"></span>
                                    <span class="click">15</span>
                                </a>

                                <a class="more" href="#/html/views/article.html">more</a>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <div class="kt-figure">
                            <div class="kt-figure-img">
                                <a href="#/html/views/article.html">
                                    <img lay-src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                </a>
                            </div>
                            <div class="kt-figure-info">
                                <span>2019-5-5 15:50:10</span>
                                <a href="#/html/views/user_center.html">FeiYang</a>
                            </div>
                            <div class="kt-figure-title">
                                <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                            </div>

                            <div class="kt-figure-more">
                                <a href="javascript:;" class="love">
                                    <span class="iconfont icon-collection"></span>
                                    <span class="click">15</span>
                                </a>

                                <a class="more" href="#/html/views/article.html">more</a>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <div class="kt-figure">
                            <div class="kt-figure-img">
                                <a href="#/html/views/article.html">
                                    <img lay-src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                </a>
                            </div>
                            <div class="kt-figure-info">
                                <span>2019-5-5 15:50:10</span>
                                <a href="#/html/views/user_center.html">FeiYang</a>
                            </div>
                            <div class="kt-figure-title">
                                <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                            </div>

                            <div class="kt-figure-more">
                                <a href="javascript:;" class="love">
                                    <span class="iconfont icon-collection"></span>
                                    <span class="click">15</span>
                                </a>

                                <a class="more" href="#/html/views/article.html">more</a>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                    <div class="kt-figure">
                        <div class="kt-figure-img">
                            <a href="#/html/views/article.html">
                                <img lay-src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                            </a>
                        </div>
                        <div class="kt-figure-info">
                            <span>2019-5-5 15:50:10</span>
                            <a href="#/html/views/user_center.html">FeiYang</a>
                        </div>
                        <div class="kt-figure-title">
                            <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                        </div>

                        <div class="kt-figure-more">
                            <a href="javascript:;" class="love">
                                <span class="iconfont icon-collection"></span>
                                <span class="click">15</span>
                            </a>

                            <a class="more" href="#/html/views/article.html">more</a>
                        </div>
                    </div>
                </div>
                    <div class="layui-col-md3">
                        <div class="kt-figure">
                            <div class="kt-figure-img">
                                <a href="#/html/views/article.html">
                                    <img lay-src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                </a>
                            </div>
                            <div class="kt-figure-info">
                                <span>2019-5-5 15:50:10</span>
                                <a href="#/html/views/user_center.html">FeiYang</a>
                            </div>
                            <div class="kt-figure-title">
                                <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                            </div>

                            <div class="kt-figure-more">
                                <a href="javascript:;" class="love">
                                    <span class="iconfont icon-collection"></span>
                                    <span class="click">15</span>
                                </a>

                                <a class="more" href="#/html/views/article.html">more</a>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <div class="kt-figure">
                            <div class="kt-figure-img">
                                <a href="#/html/views/article.html">
                                    <img lay-src="/html/images/article.jpg" onload="KtImgLoad(this)" onerror="KtImgError(this);" alt="">
                                </a>
                            </div>
                            <div class="kt-figure-info">
                                <span>2019-5-5 15:50:10</span>
                                <a href="#/html/views/user_center.html">FeiYang</a>
                            </div>
                            <div class="kt-figure-title">
                                <a href="#/html/views/article.html">Merry Christmas 圣诞快乐！</a>
                            </div>

                            <div class="kt-figure-more">
                                <a href="javascript:;" class="love">
                                    <span class="iconfont icon-collection"></span>
                                    <span class="click">15</span>
                                </a>

                                <a class="more" href="#/html/views/article.html">more</a>
                            </div>
                        </div>
                    </div>

                    <div class="kt-clear"></div>
                </div>
            </div>
            <!--上周最佳 E-->
        </div>
    </div>
</div>

<script>
    layui.use([
        'jquery',
        'carousel'
    ], function () {
        var $ = layui.jquery;
        var carousel = layui.carousel;

        // 首页文字轮播
        carousel.render({
            elem: '#kt-notice'
            ,width: '100%'
            ,height: '30px'
            ,interval: 3000
            ,arrow: 'none' // 是否显示箭头
            ,indicator: 'none' // 是否显示指示器
        });

        // 首页轮播图
        carousel.render({
            elem: '#kt-banner'
            ,width: '100%'
            ,height: '500px'
            ,interval: 3000
            ,arrow: 'hover' // 是否显示箭头
            ,indicator: 'always' // 是否显示指示器
        });

        // 上周最佳点击出发滚动
        $(document).on('click', '.layui-field-title legend>button', function(){

            var thisObj = $(this);
            var width = $('.kt-lastweek>.layui-row>div').width();

            if( $(this).hasClass('kt-prev') ){

                var scrollLeft = $('.kt-lastweek .layui-row').scrollLeft();

                $('.kt-lastweek .layui-row').animate({scrollLeft:scrollLeft-width+15});
            }else{

                var scrollLeft = $('.kt-lastweek .layui-row').scrollLeft();

                $('.kt-lastweek .layui-row').animate({scrollLeft:scrollLeft+width+15});
            }

        });
    });
</script>